﻿<UserControl x:Class="DiscoveryLogic.Analytics.Modules.Entities.PubListView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto" VerticalAlignment="Stretch">
    <Border CornerRadius="10,10,0,0" BorderBrush="#3E606F" Background="#D1DBBD" 
			BorderThickness="2" Padding="7">
        <ListView 
            x:Name="lvPubs" ItemsSource="{Binding}" 
            SelectionChanged="lvPubs_SelectionChanged"
            VerticalAlignment="Stretch">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="PMID"
									DisplayMemberBinding="{Binding PMID}"/>
                    <GridViewColumn Header="Title"
									DisplayMemberBinding="{Binding Title}"/>
                    <GridViewColumn Header="Journal"
									DisplayMemberBinding="{Binding Journal}"/>
                    <GridViewColumn Header="Authors"
									DisplayMemberBinding="{Binding Authors}"/>
                    <GridViewColumn Header="Pub. date"
									DisplayMemberBinding="{Binding PubDate}"/>
                    <GridViewColumn Header="Affiliation"
									DisplayMemberBinding="{Binding Affiliation}"/>
                </GridView>
            </ListView.View>
        </ListView>
    </Border>
</UserControl>
